﻿@model Rhomble.ViewModels.Customers.IndexViewModel

@{
    ViewBag.Title = "Customers";
}

@Html.ActionLink("Add New Customer", "Create")

<table>
	<tr>
		<th></th>
		<th>Name</th>
	</tr>
	@foreach (var customer in Model.Customers)
	{
		<tr>
			<td>@Html.ActionLink("Edit", "Edit", new { id = customer.ID })</td>
			<td>@customer.Name</td>
		</tr>
	}
</table>